package PerInfo;

public class student {
    private Integer sid;
    private String stuName;
    private String stuSex;
    private Integer stuAge;


    public student() {
    }

    public student(int sid, String stuName, String stuSex, Integer stuAge) {
        this.sid = sid;
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuAge = stuAge;
    }

    /**
     * 获取
     * @return sid
     */
    public int getSid() {
        return sid;
    }

    /**
     * 设置
     * @param sid
     */
    public void setSid(int sid) {
        this.sid = sid;
    }

    /**
     * 获取
     * @return stuName
     */
    public String getStuName() {
        return stuName;
    }

    /**
     * 设置
     * @param stuName
     */
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    /**
     * 获取
     * @return stuSex
     */
    public String getStuSex() {
        return stuSex;
    }

    /**
     * 设置
     * @param stuSex
     */
    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    /**
     * 获取
     * @return stuAge
     */
    public Integer getStuAge() {
        return stuAge;
    }

    /**
     * 设置
     * @param stuAge
     */
    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public String toString() {
        return "student{sid = " + sid + ", stuName = " + stuName + ", stuSex = " + stuSex + ", stuAge = " + stuAge + "}";
    }
}
